package com.zzl.mq.network.http;

public class MessageRequest {
    private String topic;
    private String message;
    private String messageId;
    private long timestamp;
    
    // 构造函数
    public MessageRequest() {
        this.timestamp = System.currentTimeMillis();
    }
    
    // Getters and Setters
    public String getTopic() {
        return topic;
    }
    
    public void setTopic(String topic) {
        this.topic = topic;
    }
    
    public String getMessage() {
        return message;
    }
    
    public void setMessage(String message) {
        this.message = message;
    }
    
    public String getMessageId() {
        return messageId;
    }
    
    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }
    
    public long getTimestamp() {
        return timestamp;
    }
    
    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
} 